SftTree/OCX 7.0

SftTreeColumns.Widths Property

Softel vdm, Inc.

Defines the widths of all columns, usually used to save/load an existing column layout.

Syntax       

 

Get

VB.NET

String = object.Widths  As String

VB

String = object.Widths  As String

C#.NET

string String = object.Widths;

VC++

_bstr_t String = object->Widths;
_bstr_t String = object->GetWidths();

C

HRESULT object->get_Widths(BSTR* String);

Delphi

String := object.Widths   : WideString;

Put

VB.NET

object.Widths = String  As String

VB

object.Widths = String  As String

C#.NET

string object.Widths = String;

VC++

_bstr_t object->Widths = String;
void object->PutWidths(_bstr_t String);

C

HRESULT object->put_Widths(BSTR String);

Delphi

object.Widths := String   : WideString;

object

A SftTreeColumns object.

String

Defines the widths of all columns, usually used to save/load an existing column layout.

Comments

The Widths property defines the widths of all columns, usually used to save/load an existing column layout.

The property returns a comma-delimited list of column widths ordered by real column (not the displayed order).

The value returned by the Widths property could be saved in the Windows Registry or a data file. By assigning the saved value to the Widths property at a later time, the widths of all columns can be restored.

The Order property can be used to save/restore the column order.

See Also  SftTreeColumns Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com